#include <plc2llvm/PLCSymbols/FunctionInOut.h>

int FunctionInOut::getReturnTypeId() const {
    return returnTypeId;
}

void FunctionInOut::setReturnTypeId(int returnTypeId) {
    this->returnTypeId = returnTypeId;
}

const std::vector<PLCVariable *> &FunctionInOut::getInputs() const {
    return inputs;
}

void FunctionInOut::addInput(PLCVariable *inputVariable) {
    this->inputs.push_back(inputVariable);
}

const std::vector<PLCVariable *> &FunctionInOut::getOutputs() const {
    return outputs;
}

void FunctionInOut::addOutput(PLCVariable *outputVariable) {
    this->outputs.push_back(outputVariable);
}

const std::vector<PLCVariable *> &FunctionInOut::getInOutputs() const {
    return inOutputs;
}

void FunctionInOut::addInOutput(PLCVariable *inOutput) {
    this->inOutputs.push_back(inOutput);
}